package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Book;

import java.util.List;

public interface IBookService extends IService<Book> {

    //初始化数据(分页和条件查询)
    List<Book> initList(long current,long size,String typeinput,String nameinput);


    //初始化数据(分页和条件查询),返回page对象
    IPage<Book> initListPage(long current, long size, String typeinput, String nameinput);

}
